Conversation
Naomi Pentrel (npentrel)
left a comment
There was a problem hiding this comment.
So there's no option to set a profile for ALL providers&models? For example if I wanted to use all the defaults except the todo middleware?
| <Accordion | ||
| title="Lookup order for preconfigured model instances" | ||
| > | ||
| When you pass a preconfigured chat model instance instead of a `provider:model` string, the harness synthesizes the canonical `provider:identifier` key from the instance and looks it up in this order: | ||
|
|
||
| 1. Exact `provider:identifier` match | ||
| 2. Identifier-only (only when the identifier already contains `:`) | ||
| 3. Provider-only fallback | ||
| </Accordion> |
There was a problem hiding this comment.
should this maybe be with registration keys instead?
There was a problem hiding this comment.
or it could be in the parameter table
| - `base_system_prompt` — replace the base Deep Agents system prompt | ||
| - `system_prompt_suffix` — append text to the base system prompt | ||
| - `tool_description_overrides` — override individual tool descriptions | ||
| - `excluded_tools` — remove specific harness-level tools from the tool set | ||
| - `excluded_middleware` — strip specific middleware classes from the stack | ||
| - `extra_middleware` — append middleware to every stack this profile applies to | ||
| - `general_purpose_subagent` — disable, rename, or re-prompt the general-purpose subagent |
There was a problem hiding this comment.
I think let's put these into a table under the code sample to make this easier to look through
| | --- | --- | | ||
| | `base_system_prompt`, `system_prompt_suffix` | New value wins when set; otherwise inherits | | ||
| | `tool_description_overrides` | Mappings merge per key; new value wins on a shared key | | ||
| | `excluded_tools`, `excluded_middleware` | Sets union | |
There was a problem hiding this comment.
typo I think
| | `excluded_tools`, `excluded_middleware` | Sets union | | |
| | `excluded_tools`, `excluded_middleware` | Set union | |
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
Co-authored-by: Naomi Pentrel <5212232+npentrel@users.noreply.github.com>
|
Mintlify preview branch generated: Site preview: https://langchain-5e9cc07a-preview-mdrxyd-1777040498-5598059.mintlify.app Preview links may take a few minutes to start working while the deployment finishes. Changed documentation pages (preview deep links):
Only the top 5 changed markdown files by diff size are listed. |
No description provided.